package com.xjj.servicejob;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2
@ComponentScan(basePackages = "com.xjj.**")
@MapperScan(basePackages = "com.xjj.servicejob.mapper")
@EnableFeignClients
public class ServiceJobApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceJobApplication.class, args);
    }
}
